﻿' BasecampVB - http://www.tidbitsandtangents.com
' Copyright (c) 2009
' by Rusty S. Swayne
'
' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
' documentation files (the "Software"), to deal in the Software without restriction, including without limitation 
' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and 
' to permit persons to whom the Software is furnished to do so, subject to the following conditions:
'
' The above copyright notice and this permission notice shall be included in all copies or substantial portions 
' of the Software.
'
' THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
' INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
' DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
' SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
' SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
' WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
' THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Namespace DAL

    Public Class ProjectDetails

        Public Sub New( _
            ByVal project_id As Integer, _
            ByVal company_id As Integer, _
            ByVal announcement As String, _
            ByVal name As String, _
            ByVal start_page As String, _
            ByVal show_announcement As Boolean, _
            ByVal show_writeboards As Boolean, _
            ByVal status As String, _
            ByVal created_on As DateTime)

            Me.project_id = project_id
            Me.company_id = company_id
            Me.announcement = announcement
            Me.name = name
            Me.start_page = start_page
            Me.show_announcement = show_announcement
            Me.show_writeboards = show_writeboards
            Me.status = status
            Me.created_on = created_on

        End Sub

#Region "Properties"

        Private _project_id As Integer
        Public Property project_id() As Integer
            Get
                Return _project_id
            End Get
            Set(ByVal value As Integer)
                _project_id = value
            End Set
        End Property


        Private _company_id As Integer
        Public Property company_id() As Integer
            Get
                Return _company_id
            End Get
            Set(ByVal value As Integer)
                _company_id = value
            End Set
        End Property


        Private _announcement As String
        Public Property announcement() As String
            Get
                Return _announcement
            End Get
            Set(ByVal value As String)
                _announcement = value
            End Set
        End Property

        Private _name As String
        Public Property name() As String
            Get
                Return _name
            End Get
            Set(ByVal value As String)
                _name = value
            End Set
        End Property

        Private _start_page As String
        Public Property start_page() As String
            Get
                Return _start_page
            End Get
            Set(ByVal value As String)
                _start_page = value
            End Set
        End Property

        Private _show_announcement As Boolean
        Public Property show_announcement() As Boolean
            Get
                Return _show_announcement
            End Get
            Set(ByVal value As Boolean)
                _show_announcement = value
            End Set
        End Property

        Private _show_writeboards As Boolean
        Public Property show_writeboards() As Boolean
            Get
                Return _show_writeboards
            End Get
            Set(ByVal value As Boolean)
                _show_writeboards = value
            End Set
        End Property

        Private _status As String
        Public Property status() As String
            Get
                Return _status
            End Get
            Set(ByVal value As String)
                _status = value
            End Set
        End Property

        Private _created_on As DateTime
        Public Property created_on() As DateTime
            Get
                Return _created_on
            End Get
            Set(ByVal value As DateTime)
                _created_on = value
            End Set
        End Property


#End Region


    End Class

End Namespace